;#####################################################################################################################
;## PERSONALIZATION FILE FOR SHIN SATAN by Balthazar and Jango and Cybaster		   	    		            ##
;## DON'T modify the values if there isn't any comment explaining what to do just above. This could mess the char.  ##
;## If you're not sure, make a copy of the file before changing any value.					    ##
;#####################################################################################################################

[Statedef 5900]
type = S

[State 5900, varreset]
type = varrangeset
trigger1 = !roundsexisted
value = 0


[State 5900, varreset]
type = varrangeset
trigger1 = !roundsexisted
fvalue = 0

; REPEL PROJECTILE FX
[State 5900, 3]
type = VarSet
trigger1 = 1
v = 44
;#####################################################################################################################
;## Choose which repel projectile you want to use. Set the value to 0 if you want to use the new yellow/blue one. Set
;## the value to 1 to use the old purple one.
;## Default value is 0.
value = 0


; SUPER BACKGROUND CHOICE
[State 5900, 3]
type = VarSet
trigger1 = 1
v = 13
;#####################################################################################################################
;## Choose which super background you want to use when Vegeta kills the opponent with a Super or Ultra move. Set the
;## value to 0 to use the Street Fighter 3 Super BG, set the value to 1 to use the Jojo's Bizarre Adventure Super BG.
;## Set the value to 2 to use the Super Dragon Ball Z Super BG. Set the value to any number greater than 2 to disable
;## Super Background.
;## Default value is 2.
value = 2

; Hype Crowd Transparency
[State 5900, 3]
type = VarSet
trigger1 = 1
v = 3
;#####################################################################################################################
;## Choose which transparency effect you prefer for the audience during Mr. Satan's Hype Mode. Set to 0 for no
;## transparency (NOT RECOMMENDED). Set the value to 1 if you want transparency handled with sprite-flicker. Set the value to 2 if you
;## want transparency to be handled with MUGEN's default transparency features. Defaults to 1
;## Default value is 1.
value = 1

;----------------------------------------------PALETTE REMAPPING------------------------------------------------------
;Follow The Directions Below to remap the palettes to your desired colors!

;Change palette for button "a"
[State 5900, 4] 
type = RemapPal
trigger1 = Var(29)=0
trigger1 = palno= 2
source = 1,1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to "14 - Mint X Green R.O.B.png"
;## dest = 1, 14
dest = 1,2

;Change palette for button "b"
[State 5900, 5] 
type = RemapPal
trigger1 = Var(29)=0
trigger1 = palno=3
source = 1,1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to "14 - Mint X Green R.O.B.png"
;## dest = 1, 14
dest = 1,3

;Change palette for button "c"
[State 5900, 5] 
type = RemapPal
trigger1 = Var(29)=0
trigger1 = palno=1
source = 1,1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to "14 - Mint X Green R.O.B.png"
;## dest = 1, 14
dest = 1,6

;Change palette for button "x"
[State 5900, 5] 
type = RemapPal
trigger1 = Var(29)=0
trigger1 = palno=4
source = 1,1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to "14 - Mint X Green R.O.B.png"
;## dest = 1, 14
dest = 1,4

;Change palette for button "y"
[State 5900, 5] 
type = RemapPal
trigger1 = Var(29)=0
trigger1 = palno=5
source = 1,1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to "14 - Mint X Green R.O.B.png"
;## dest = 1, 14
dest = 1,5

;Change palette for button "z"
[State 5900, 5] 
type = RemapPal
trigger1 = Var(29)=0
trigger1 = palno=6
source = 1,1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to "14 - Mint X Green R.O.B.png"
;## dest = 1, 14
dest = 1,13

;Change palette for button "start" + "a"
[State 5900, 4] 
type = RemapPal
trigger1 = Var(29)=0
trigger1 = palno= 10
source = 1,1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to "14 - Mint X Green R.O.B.png"
;## dest = 1, 14
dest = 1,10

;Change palette for button "start" + "b"
[State 5900, 5] 
type = RemapPal
trigger1 = Var(29)=0
trigger1 = palno=11
source = 1,1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to "14 - Mint X Green R.O.B.png"
;## dest = 1, 14
dest = 1,11

;Change palette for button "start" + "c"
[State 5900, 5] 
type = RemapPal
trigger1 = Var(29)=0
trigger1 = palno=12
source = 1,1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to "14 - Mint X Green R.O.B.png"
;## dest = 1, 14
dest = 1,12

;Change palette for button "start" + "x"
[State 5900, 5] 
type = RemapPal
trigger1 = Var(29)=0
trigger1 = palno=7
source = 1,1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to "14 - Mint X Green R.O.B.png"
;## dest = 1, 14
dest = 1,7

;Change palette for button "start" + "y"
[State 5900, 5] 
type = RemapPal
trigger1 = Var(29)=0
trigger1 = palno=8
source = 1,1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to "14 - Mint X Green R.O.B.png"
;## dest = 1, 14
dest = 1,8

;Change palette for button "start" + "z"
[State 5900, 5] 
type = RemapPal
trigger1 = Var(29)=0
trigger1 = palno=9
source = 1,1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to "14 - Mint X Green R.O.B.png"
;## dest = 1, 14
dest = 1,9



;#####################################################################################################################
;=================================================
; DO NOT CHANGE ANYTHING BELOW THIS LINE !!!

;[State 5900, 3] ;Change palette
;type = Remappal
;trigger1 = 1
;source = 1,1
;dest = 1,palno

[State 5900, End]
type = changestate
trigger1 = !time
value = ifelse(roundno = 1, 190, 0)



